import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import base from './assets/js/request/base'
// 动态计算根字体大小
// import 'amfe-flexible'
import api from './assets/js/api' // 导入api接口
import util from './assets/js/util'

import './assets/css/main.scss'
import './assets/js/lib/antv'

import './assets/js/lib/vxeTable/vxeTable'
if (base.EVN === 1) {
    require('./assets/js/api/mock/mock')
}
Vue.config.productionTip = false

Vue.prototype.$api = api
Vue.prototype.$util = util

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
